package com.zhenyi.liuxue.core;

import com.jfinal.config.Routes;
import com.zhenyi.liuxue.index.SearchController;
import com.zhenyi.liuxue.mini.QuestionController;
import com.zhenyi.liuxue.mini.SchoolController;

public class LXRoutes extends Routes {

	@Override
	public void config() {
		add("/lx/auth", com.zhenyi.liuxue.index.AuthController.class);
		add("/lx/search", SearchController.class);
		add("/lx/mini/api", com.zhenyi.liuxue.mini.ApiController.class);
		add("/lx/mini/school", SchoolController.class);
		add("/lx/mini/activity", com.zhenyi.liuxue.mini.ActivityController.class);
		add("/lx/mini/user", com.zhenyi.liuxue.mini.UserController.class);
		add("/lx/mini/question", QuestionController.class);
		add("/lx/admin/auth", com.zhenyi.liuxue.admin.AuthController.class);
		add("/lx/admin/api", com.zhenyi.liuxue.admin.ApiController.class);
		add("/lx/admin/activity", com.zhenyi.liuxue.admin.ActivityController.class);
		add("/lx/admin/user", com.zhenyi.liuxue.admin.UserController.class);
		add("/lx/admin/school", com.zhenyi.liuxue.admin.SchoolController.class);
		add("/lx/admin/cert", com.zhenyi.liuxue.admin.CertController.class);
		add("/lx/admin/policy", com.zhenyi.liuxue.admin.PolicyController.class);
		add("/lx/admin/question", com.zhenyi.liuxue.admin.QuestionController.class);
		add("/lx/admin/statistic", com.zhenyi.liuxue.admin.StatisticController.class);
		add("/lx/admin/qn", com.zhenyi.liuxue.admin.QiniuController.class);
		add("/lx/admin/rank", com.zhenyi.liuxue.admin.RankController.class);
		add("/lx/admin/company", com.zhenyi.liuxue.admin.CompanyController.class);
	}

}
